//
//  DDMGift.m
//  dingdang
//
//  Created by lichq on 7/26/15.
//  Copyright (c) 2015 阮 沧晖. All rights reserved.
//

#import "DDMGift.h"

@implementation DDMGiftCell
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"id" : @"id",
                                                      @"sn" : @"sn",
                                                      @"name" : @"name",
                                                      @"description" : @"description_m",
                                                      @"type" : @"type",
                                                      @"source" : @"source",
                                                      @"detail" : @"detail",
                                                      @"imgPath" : @"imgPath",
                                                      @"price" : @"price",
                                                      @"marketPrice" : @"marketPrice",
                                                      @"cost" : @"cost",
                                                      @"valid" : @"valid",
                                                      @"marketable" : @"marketable",
                                                      @"sales" : @"sales",
                                                      @"stock" : @"stock",
                                                      @"uploadTime" : @"uploadTime",
                                                      @"uploadOper" : @"uploadOper",
                                                      @"lastUpdateTime" : @"lastUpdateTime",
                                                      @"lastUpdateOper" : @"lastUpdateOper",
                                                      @"keepNums" : @"keepNums",
                                                      @"link": @"link"
                                                      }];
}
@end



@implementation DDMGift
+(JSONKeyMapper *)keyMapper{
    return [[JSONKeyMapper alloc]initWithDictionary:@{
                                                      @"list" : @"list"
                                                      }];
}
@end
